<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<body>
	<header class="topnavbar-wrapper" th:fragment="header">
		<nav class="navbar navbar-default navbar-fixed-top" >
			<div class="navbar-header" >
				<button type="button" class="navbar-toggle" data-toggle="collapse"
					data-target=".navbar-responsive-collapse">
					<span class="icon-bar"></span> <span class="icon-bar"></span> <span
						class="icon-bar"></span>
				</button>
				<a class="navbar-brand" href="/index">Icey社区</a>
			</div>
			<div class="navbar-collapse collapse navbar-responsive-collapse" >
				<ul class="nav navbar-nav">
					<li class="active"><a href="/index">首页</a></li>
					<!-- <li><a href="hiview">热点</a></li> -->
					<li><a th:href="@{/hiview/1}">生活随笔</a></li>
					<!-- <li><a href="hiview">发现</a></li> -->
					<li class="dropdown"><a href="#" class="dropdown-toggle"
						data-toggle="dropdown">技术系列<b class="caret"></b></a>
						<ul class="dropdown-menu">
							<li><a th:href="@{/hiview/4}">Java</a></li>
							<!-- <li><a href="#">Python</a></li> -->
							<li><a th:href="@{/hiview/5}">JavaScript</a></li>
							<li class="divider"></li>
							<li class="dropdown-header">spring系列</li>
							<li><a th:href="@{/hiview/6}">SpringBoot</a></li>
							<li><a th:href="@{/hiview/7}">SpringCloud</a></li>
							<li class="divider"></li>
							<!-- <li class="dropdown-header">集群-分布式</li>
							<li><a href="#">分布式</a></li>
							<li><a href="#">集群</a></li> -->
						</ul></li>
					<li><a th:href="@{/message-board}">留言板</a></li>
					<!-- <li><a href="hiview">网站定制</a></li> -->
					<li><a th:href="@{/contact-us}">联系我们</a></li>
				</ul>
				<form class="navbar-form navbar-left">
					<input type="text" class="form-control col-lg-8" placeholder="搜索">
				</form>
				<ul class="nav navbar-nav navbar-right">
                    <li> 
                    	<a href='https://gitee.com/iceyrabbit/generatecode/stargazers'><img src='https://gitee.com/iceyrabbit/generatecode/badge/star.svg?theme=white' alt='star'></img></a>
                    </li>
                </ul>
				<!--  <ul class="nav navbar-nav navbar-right">
                    <li><a href="login">登陆 | 注册</a></li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li><a href="#">Action</a></li>
                            <li><a href="#">Another action</a></li>
                            <li><a href="#">Something else here</a></li>
                            <li class="divider"></li>
                            <li><a href="#">Separated link</a></li>
                        </ul>
                    </li>
                </ul> -->
			</div>
		</nav>
	</header>
</body>
</html>